package v1

import "github.com/gogf/gf/v2/frame/g"

type WebApiRes struct {
	g.Meta  `mime:"text/html" example:"string"`
	Code    int         `json:"code" dc:"协议码/错误码"`
	Message string      `json:"message" dc:"消息"`
	Data    interface{} `json:"data" dc:"数据"`
	Success bool        `json:"success" dc:"是否成功"`
}

type TestReq struct {
	g.Meta `path:"/test" tags:"test" method:"get" summary:"You first test api"`
}
